﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;
using ZLWeb.WebApiEntityBase;

namespace WeChatCardProxy.WebApiEntity
{
    public class Verify_Ticket : ResponseResultInfo
    {
        public string AppId { get; set; }

        public DateTime CreateTime { get; set; }

        public string ComponentVerifyTicket { get; set; }

        public DateTime UpdateTime { get; set; }
    }

    public class Verify_TicketMapper : ClassMapper<Verify_Ticket>
    {
        public Verify_TicketMapper()
        {
            Table("Component_verify_ticket");
            Map(f => f.AppId).Column("AppId").Key(KeyType.Assigned);
            Map(f => f.CreateTime).Column("CreateTime");
            Map(f => f.ComponentVerifyTicket).Column("ComponentVerifyTicket");
            Map(f => f.UpdateTime).Column("UpdateTime");
        }
    }
}
